﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EvePoint.Library.HtmlControls
{
    [Serializable] 
    public class ViewportProperties: IViewport
    {
        #region IViewport Members
        [NonSerialized]
        private int? _height;
        [NonSerialized]
        private int? _width;
        [NonSerialized]
        private decimal? _initialScale;
        [NonSerialized]
        private decimal? _maximumScale;
        [NonSerialized]
        private decimal? _minimumScale;
        [NonSerialized]
        private bool? _useDeviceHeightAndWidth;
        [NonSerialized]
        private bool? _userScalable; 


        public int? Height
        {
            get
            {
                return _height;
            }
            set
            {
                _height = value; 
            }
        }

        public int? Width
        {
            get
            {
                return _width;
            }
            set
            {
                _width = value;
            }
        }

        public decimal? InitialScale
        {
            get
            {
                return _initialScale; 
            }
            set
            {
                _initialScale = value; 
            }
        }

        public decimal? MaximumScale
        {
            get
            {
                return _maximumScale;
            }
            set
            {
                _maximumScale = value;
            }
        }

        public decimal? MinimumScale
        {
            get
            {
                return _minimumScale;
            }
            set
            {
                _minimumScale = value;
            }
        }

        public bool? UseDeviceHeightAndWidth
        {
            get
            {
                return _useDeviceHeightAndWidth;
            }
            set
            {
                _useDeviceHeightAndWidth = value;
            }
        }

        public bool? UserScalable
        {
            get
            {
                return _userScalable;
            }
            set
            {
                _userScalable = value;
            }
        }

       

        #endregion
    }
}
